from behavioral.chain_of_responsibility.Handler import Handler


class ConcreteHandler2(Handler):
    def handle(self, request):
        if 10 < request <= 20:
            print("in handler 2")
        else:
            self.successor.handle(request)
